// samsting : this file is auto create.

#include "Rds_Region/2014-08-15/DescribeOptimizeAdviceOnBigTableResponse.h"

namespace aliyun { namespace Rds_Region {

DescribeOptimizeAdviceOnBigTableResponse::DescribeOptimizeAdviceOnBigTableResponse() {
}

const string& DescribeOptimizeAdviceOnBigTableResponse::AdviceOnBigTable::GetDBName(void) const {
  return DBName_;
}

const string& DescribeOptimizeAdviceOnBigTableResponse::AdviceOnBigTable::GetTableName(void) const {
  return TableName_;
}

int64 DescribeOptimizeAdviceOnBigTableResponse::AdviceOnBigTable::GetTableSize(void) const {
  return TableSize_;
}

int64 DescribeOptimizeAdviceOnBigTableResponse::AdviceOnBigTable::GetDataSize(void) const {
  return DataSize_;
}

int64 DescribeOptimizeAdviceOnBigTableResponse::AdviceOnBigTable::GetIndexSize(void) const {
  return IndexSize_;
}

const std::vector<DescribeOptimizeAdviceOnBigTableResponse::AdviceOnBigTable>& DescribeOptimizeAdviceOnBigTableResponse::GetItems(void) const {
  return Items_;
}

int DescribeOptimizeAdviceOnBigTableResponse::GetTotalRecordsCount(void) const {
  return TotalRecordsCount_;
}

int DescribeOptimizeAdviceOnBigTableResponse::GetPageNumber(void) const {
  return PageNumber_;
}

int DescribeOptimizeAdviceOnBigTableResponse::GetPageRecordCount(void) const {
  return PageRecordCount_;
}

const char* DescribeOptimizeAdviceOnBigTableResponse::BaseKey(void) {
  return "DescribeOptimizeAdviceOnBigTableResponse";
}

void DescribeOptimizeAdviceOnBigTableResponse::UnmarshallerMap(std::map<string, string>& response_map) {
  int Items__length = 0;
  UnmarshallerInt(Items__length, response_map, "DescribeOptimizeAdviceOnBigTableResponse.Items.Length");
  if(Items__length >= 0) {
    Items_.resize(Items__length);
    for(int i1 = 0; i1 < Items__length; i1++) {
      UnmarshallerString(Items_[i1].DBName_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.Items["+string_ValueOfInt(i1)+"].DBName");
      UnmarshallerString(Items_[i1].TableName_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.Items["+string_ValueOfInt(i1)+"].TableName");
      UnmarshallerInt64(Items_[i1].TableSize_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.Items["+string_ValueOfInt(i1)+"].TableSize");
      UnmarshallerInt64(Items_[i1].DataSize_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.Items["+string_ValueOfInt(i1)+"].DataSize");
      UnmarshallerInt64(Items_[i1].IndexSize_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.Items["+string_ValueOfInt(i1)+"].IndexSize");
    } // for(int i1 = 0; i1 < Items__length; i1++) {
  } // if(Items__length >= 0) {

  UnmarshallerInt(TotalRecordsCount_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.TotalRecordsCount");
  UnmarshallerInt(PageNumber_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.PageNumber");
  UnmarshallerInt(PageRecordCount_, response_map, "DescribeOptimizeAdviceOnBigTableResponse.PageRecordCount");
}


} } // namespace aliyun { namespace Rds_Region {

// end of file 
